package com.nycreativity.elecreativity.entity.vo.goods

import com.baomidou.mybatisplus.annotation.IdType
import com.nycreativity.elecreativity.entity.BaseEntity
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import com.nycreativity.elecreativity.entity.dto.GoodsSpecificationDTO
import com.nycreativity.elecreativity.entity.vo.BaseVOParam
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

/**
 * <p>
 *
 * </p>
 *
 * @author sxt && ttxxi
 * @since 2021-03-22
 */
@ApiModel("商品返回对象")
@TableName("goods")
class GoodsVO: BaseVOParam() {

    /**
     * id
     */
    @ApiModelProperty("id")
    var id: Long? = null

    /**
     * 类型id
     */
    @ApiModelProperty("类型id")
    var typeId: Long? = null

    /**
     * 品牌id
     */
    @ApiModelProperty("品牌id")
    var brandId: Long? = null

    /**
     * 商品名
     */
    @ApiModelProperty("商品名")
    var name: String? = null

    /**
     * 商品简介
     */
    @ApiModelProperty("商品简介")
    var brief: String? = null

    /**
     * 商品描述
     */
    @ApiModelProperty("商品描述")
    var goodsDesc: String? = null

    /**
     * 商品的属性规格
     */
    @ApiModelProperty("商品的属性规格，当cjs不明白传什么的时候请速速联系我")
    var specification: GoodsSpecificationDTO? = null

}
